Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [Gen 9] Draft Factory #10213

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

MathyFurret
Copy link
Contributor

@MathyFurret MathyFurret commented Mar 19, 2024

Pending final data schema

@MathyFurret
Copy link
Contributor Author

MathyFurret commented Jul 29, 2024

I currently have written a command that accepts a URL to a CSV of team pastes. It fetches them, converts the teams to JSON and stores them in a database.

For example, typing something like /draftfactory import https://pastebin.com/t3ps7Ljr, test1 would store the following:
image

For the format to be fully functional this is what is needed:

  • Much better error checking (being admin-only is really the only barrier so far)
  • Have the team generator pull from the database to generate teams. This will be tricky as all battle code is synchronous but our current sqlite lib is all async. It should probably be more efficient than loading every single team into memory at once.
  • Make unit tests compatible
  • Anything else the Draft leaders deem necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants